func reflect.add
28 uses
reflect (current package)
type.go#L815: func add(p unsafe.Pointer, x uintptr, whySafe string) unsafe.Pointer {
type.go#L1515: return (*abi.Type)(add(section, uintptr(off), "sizeof(rtype) > 0"))
type.go#L2543: pi := add(p, ft.Offset, "&x.field safe")
type.go#L2544: qi := add(q, ft.Offset, "&x.field safe")
value.go#L540: addr := add(stackArgs, st.stkOff, "precomputed stack arg offset")
value.go#L551: offset := add(v.ptr, st.offset, "precomputed value offset")
value.go#L571: offset := add(v.ptr, st.offset, "precomputed value offset")
value.go#L633: ret[i] = Value{tv, add(stackArgs, st.stkOff, "tv.Size() != 0"), fl}
value.go#L666: offset := add(s, st.offset, "precomputed value offset")
value.go#L669: s := add(s, st.offset, "precomputed value offset")
value.go#L672: offset := add(s, st.offset, "precomputed value offset")
value.go#L739: typedmemmove(typ, v.ptr, add(ptr, st.stkOff, "typ.size > 0"))
value.go#L743: v.ptr = *(*unsafe.Pointer)(add(ptr, st.stkOff, "1-ptr"))
value.go#L754: offset := add(v.ptr, st.offset, "precomputed value offset")
value.go#L757: s := add(v.ptr, st.offset, "precomputed value offset")
value.go#L760: offset := add(v.ptr, st.offset, "precomputed value offset")
value.go#L824: addr := add(ptr, st.stkOff, "precomputed stack arg offset")
value.go#L840: offset := add(v.ptr, st.offset, "precomputed value offset")
value.go#L855: offset := add(v.ptr, st.offset, "precomputed value offset")
value.go#L1034: add(methodFrame, mStep.stkOff, "precomputed stack offset"),
value.go#L1035: add(valueFrame, vStep.stkOff, "precomputed stack offset"))
value.go#L1040: from := add(valueFrame, vStep.stkOff+mStep.offset, "precomputed stack offset")
value.go#L1059: to := add(methodFrame, mStep.stkOff+vStep.offset, "precomputed stack offset")
value.go#L1128: valueRet := add(valueFrame, valueABI.retOffset, "valueFrame's size > retOffset")
value.go#L1129: methodRet := add(methodFrame, methodABI.retOffset, "methodFrame's size > retOffset")
value.go#L1302: ptr := add(v.ptr, field.Offset, "same as non-reflect &v.field")
value.go#L1415: val := add(v.ptr, offset, "same as &v[i], i < tt.len")
value.go#L2808: return add(p, uintptr(i)*eltSize, "i < len")
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |